INCLUDE_DIRECTORIES(
    ${PROJECT_SOURCE_DIR}
	${PROJECT_SOURCE_DIR}/test/RenderTests/src
    ../../contrib/cppcore/include
    ../../contrib/glew/include
    ../../contrib/assimp/include
    ../../contrib/glm/
    ../../contrib/soil/src
    .././
)

SET ( rendertest_src
    src/GeoModelMatrixRenderTest.cpp
    src/AABBDbgRenderTest.cpp
	src/AbstractTestFixure.h
    src/AbstractRenderTest.cpp
    src/AbstractRenderTest.h
    src/RenderTestSuite.cpp
    src/PrimTypeRenderTest.cpp
    src/BaseTriangleRenderTest.cpp
    src/DbgFontRenderTest.cpp
    src/GeoInstanceRenderTest.cpp
	src/RenderBufferAccessTest.cpp
	src/StaticTextRenderTest.cpp
	src/SwitchCmdBufferRenderTest.cpp
	src/RenderTargetRenderTest.cpp
    src/RenderTestSuite.h
    src/RenderTestUtils.h
    src/main.cpp
)

SET ( rendertest_texture_src
	src/Textures/Texture3DRenderTest.cpp
    src/Textures/BaseTextureRenderTest.cpp
)

SOURCE_GROUP( src           FILES ${rendertest_src} )
SOURCE_GROUP( src\\Textures FILES ${rendertest_texture_src} )

ADD_EXECUTABLE( osre_rendertest
    ${rendertest_src}
    ${rendertest_texture_src}
)

link_directories( 
    ${CMAKE_CURRENT_SOURCE_DIR}/../../ThirdParty/glew/Debug
    ${CMAKE_CURRENT_SOURCE_DIR}/../../ThirdParty/glew/Release
)

target_link_libraries ( osre_rendertest osre ) 
set_target_properties(  osre_rendertest PROPERTIES FOLDER Tests )
